<div class="infoBlock infoBlockComment">
<div class="infoBlockHeading"><span class="t">Comments</span></div>
<div class="infoBlockContent">

{pp_js file="pjs.ws.js"}

<div class="infoBlockItem">
<form name="commentform" method="post">
<input type="hidden" name="form" value="content_comment">
<input type="hidden" name="target" value="{$CONTENT.item.id}">
<table width="100%" border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td class="fb"><label class="fb">Name</label>: </td>
    <td>{pp_inputtext name="field_author" value=$CONTENT.comment.author class="inputText2" require="true"}</td>
    <td></td>
  </tr>
  <tr>
    <td><label class="fb">Email</label>: </td>
    <td>{pp_inputtext name="field_email" value=$CONTENT.comment.email class="inputText2" require="true" valid="email"}</td>
    <td></td>
  </tr>
  <tr>
    <td><label class="fb">Telephone</label>: </td>
    <td>{pp_inputtext name="field_telephone" value=$CONTENT.comment.telephone class="inputText2"}</td>
    <td></td>
  </tr>
  <tr>
    <td><label class="fb">Content</label>: </td>
    <td>{pp_inputtextarea name="field_content" value=$CONTENT.comment.content class="inputTextarea3"}</td>
    <td></td>
  </tr>
  <tr>
    <td><label class="fb">Captcha</label>: </td>
    <td><img src="{$CONTEXT.URL}check/code" width="120" height="40" title="Captcha" id="dimg_captcha">&nbsp;
    <a href="javascript:void(0);" onclick="_captcha_refresh()">Refresh</a>
    <p class="desc">Write the characters in the image above</p>
    <input type="text" name="checkcode" value="" size="5" maxlength="4" require="true"></td>
    <td></td>
  </tr>
  <tr>
    <td align="right" valign="top"></td>
    <td><input type="submit" name="submitbtn" value="Submit" onclick="if(PJS.validator.checkFormValid(this.form)==false)return false;pjs_ws.postForm(this.form,'postform');return false;"></td>
    <td></td>
  </tr>
</table>
</form>
</div>

</div>
</div>